﻿@model Contacts.Models.Contact

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Details</h2>

<fieldset>
    <legend>Contact</legend>

    <div class="display-label">Firstname</div>
    <div class="display-field">@Model.Firstname</div>

    <div class="display-label">Lastname</div>
    <div class="display-field">@Model.Lastname</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.ContactId }) |
    @Html.ActionLink("Back to List", "Index")
</p>

